package com.my.screenadapter.net;

import org.litepal.crud.DataSupport;

import java.io.Serializable;

/**
 * Created by 张英杰 on 2015/10/16.
 * 测试登陆用的存储姓名和账号类
 */
public class User extends DataSupport implements Serializable {
    private int id;

    /**
     * code : 0
     * info : 登陆成功！
     * lifecircle : {"RegionId":"admin","UserName":"系统管理员","DanWei":"系统管理员","Name":"系统管理员","Caption":"admin"}
     */

    private String code;
    private String info;
    private DataBean data;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getInfo() {
        return info;
    }

    public void setInfo(String info) {
        this.info = info;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public static class DataBean {
        /**
         * RegionId : admin
         * UserName : 系统管理员
         * DanWei : 系统管理员
         * Name : 系统管理员
         * Caption : admin
         */

        private String RegionId;
        private String UserName;
        private String DanWei;
        private String Name;
        private String Caption;

        public String getRegionId() {
            return RegionId;
        }

        public void setRegionId(String RegionId) {
            this.RegionId = RegionId;
        }

        public String getUserName() {
            return UserName;
        }

        public void setUserName(String UserName) {
            this.UserName = UserName;
        }

        public String getDanWei() {
            return DanWei;
        }

        public void setDanWei(String DanWei) {
            this.DanWei = DanWei;
        }

        public String getName() {
            return Name;
        }

        public void setName(String Name) {
            this.Name = Name;
        }

        public String getCaption() {
            return Caption;
        }

        public void setCaption(String Caption) {
            this.Caption = Caption;
        }
    }
}
